Oculus allows you to add Wildcards to captions and to filenames to allow you to name items with the current time or date, sequence number, day of week, etc. See the Advanced Features section for details.
Wildcard | Meaning | Example |
%T | time string | 2:03:06 PM |
%t | short time string | 2:03 PM |
%D | date string | Wednesday, August 7, 2000 |
%d | date numbers | 8/7/00 |
%A | abbreviated date | Wed, Aug 7, 2000 |
%H | 24 hour | 14 |
%h | 12 hour | 2 |
%m | minute | 03 |
%s | second | 06 |
%0x | zero led day | 07 |
%x | day | 7 |
%i | short month string | Aug |
%I | month string | August |
%0M | zero led month | 08 |
%M | month | 8 |
%y | two digit year | 00 |
%Y | four digit year | 2000 |
%P | AM/PM | PM |
%p | am/pm | pm |
%e | 2 letter day of week | We |
%w | 3 letter day of week | Wed |
%W | day of week | Wednesday |
%# | sequence number | 2302 |
%Q | QuickCaption | Hi Mom! |
Oculus has the following dictionary that can be used by AppleScripts.
Operations
run | Sent to an application when it is double-clicked |
close |
Close an object close reference -- the object to close |
quit | Quit application |
exists |
Verify if an object exists exists reference -- the object in question Result: boolean -- true if it exists, false if not |
count |
Returns the number of elements of a particular class count reference -- the object whose elements are to be counted each type class -- the class of the elements to be counted Result: integer -- the number of elements |
get |
Get the data for an object get reference -- the object whose data is to be returned [as type class] -- the desired type for the data Result: anything -- the data from the object |
data size |
Return the size of an object in bytes data size reference -- the object whose data size is to be returned Result: integer -- the size of the object in bytes |
delete |
Delete an element from an object delete reference -- the element to delete |
make |
Make a new element make new type class -- the class of the new element [at location reference] -- the location at which to insert the element [with properties record] -- the initial data for the properties of the element Result: reference -- to the new object |
set |
Set an object's data set reference -- the object to change to anything -- the new value |
move |
Move an object move reference -- the object to move [to location reference] -- the new location for the object Result: reference -- to the object after it has been moved |
takepicture |
Take a picture now takepicture reference -- the window to take the picture |
Class application |
An application program
Elements:
|
Class window |
A window
Elements:
|
Class caption |
A caption Properties:
|
Class inactiveCaption |
A caption that appears when the camera is inactive Properties:
|
![]() |
![]() |
Back | Forward |
©Copyright 2000 International Web, Inc. and Poubelle Software OOAKdÞÐã?å20¶"rö¶"römkellnerReference.htmlOOAúè 2ckid tProjector Data